package com.ktgj.hotel.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.hotel.mapper.HotelOrderoccupttypeMapper;
import com.ktgj.hotel.domain.HotelOrderoccupttype;
import com.ktgj.hotel.service.IHotelOrderoccupttypeService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
@Service
public class HotelOrderoccupttypeServiceImpl implements IHotelOrderoccupttypeService 
{
    @Autowired
    private HotelOrderoccupttypeMapper hotelOrderoccupttypeMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param orderoccupttypeid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public HotelOrderoccupttype selectHotelOrderoccupttypeById(Long orderoccupttypeid)
    {
        return hotelOrderoccupttypeMapper.selectHotelOrderoccupttypeById(orderoccupttypeid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param hotelOrderoccupttype 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<HotelOrderoccupttype> selectHotelOrderoccupttypeList(HotelOrderoccupttype hotelOrderoccupttype)
    {
        return hotelOrderoccupttypeMapper.selectHotelOrderoccupttypeList(hotelOrderoccupttype);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param hotelOrderoccupttype 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertHotelOrderoccupttype(HotelOrderoccupttype hotelOrderoccupttype)
    {
        return hotelOrderoccupttypeMapper.insertHotelOrderoccupttype(hotelOrderoccupttype);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param hotelOrderoccupttype 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateHotelOrderoccupttype(HotelOrderoccupttype hotelOrderoccupttype)
    {
        return hotelOrderoccupttypeMapper.updateHotelOrderoccupttype(hotelOrderoccupttype);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param orderoccupttypeids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteHotelOrderoccupttypeByIds(Long[] orderoccupttypeids)
    {
        return hotelOrderoccupttypeMapper.deleteHotelOrderoccupttypeByIds(orderoccupttypeids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param orderoccupttypeid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteHotelOrderoccupttypeById(Long orderoccupttypeid)
    {
        return hotelOrderoccupttypeMapper.deleteHotelOrderoccupttypeById(orderoccupttypeid);
    }
}
